package com.ikangtai.shecare.common.al;

import com.ikangtai.shecare.common.util.AppLog;
import com.ikangtai.shecare.common.util.DateUtil;

public class DayUnitDSInput {
    public long date;
    public int dayOfCycle;
    public float BBT;
    public int menstruationRecord;
    public int cervicalMunusRecord;
    public int ovulationTestResult;
    public int tempFlag;

	public DayUnitDSInput(){
		this.dayOfCycle = 0;
		this.date = 0;
		this.BBT = 0;
		this.menstruationRecord = 0;
		this.cervicalMunusRecord = 0;
		this.ovulationTestResult = 0;
		this.tempFlag = 0;
	}

	public void setData(int x){
		this.dayOfCycle = x;
		this.date = 0;
		this.BBT = 0.0f;
		this.menstruationRecord = x;
		this.cervicalMunusRecord = x;
		this.ovulationTestResult = x;
		this.tempFlag = x;
	}

	public void showLog(){
		AppLog.i("Algorithm DayUnitDSInput show -> " + "dayOfCycle:"+this.dayOfCycle + ", date:"+ DateUtil.getDateTimeStr(this.date)  + ", date:"+this.date + ", BBT:" + this.BBT
										   + ", menstruationRecord:"+this.menstruationRecord + ", cervicalMunusRecord:"+this.cervicalMunusRecord
										   + ", ovulationTestResult:"+this.ovulationTestResult + ", tempFlag:"+this.tempFlag);
	}
}
